package com.jshx.sz.gdjt.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 项目对象类
 * @author xiangchangan
 * @time 2013-08-20
 */
public class ProjectBean implements Parcelable {

	//项目名称
	private String projectName;
	
	//项目要求
	private String projectContent;
	
	//检查结果
	private String resualt;
	
	//图片地址
	private String resualtImagePaths;
	
	//备注
	private String remark;
	
	//是否已经编辑
	private String hasEdit = "false";
	
	@Override
	public int describeContents() 
	{
		return 0;
	}

	public static final Parcelable.Creator<ProjectBean> CREATOR = new Parcelable.Creator<ProjectBean>()
			{
		public ProjectBean createFromParcel(Parcel in) {
			return new ProjectBean(in);
		}

		public ProjectBean[] newArray(int size) {
			return new ProjectBean[size];
		}
	};
	
	@Override
	public void writeToParcel(Parcel dest, int flags) 
	{
		dest.writeString(projectName);
		dest.writeString(projectContent);
		dest.writeString(resualt);
		dest.writeString(resualtImagePaths);
		dest.writeString(remark);
		dest.writeString(hasEdit);
	}

	public ProjectBean(Parcel in)
	{
		projectName = in.readString();
		projectContent = in.readString();
		resualt = in.readString();
		resualtImagePaths = in.readString();
		remark = in.readString();
		hasEdit = in.readString();
	}
	
	public ProjectBean()
	{
		
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getProjectContent() {
		return projectContent;
	}

	public void setProjectContent(String projectContent) {
		this.projectContent = projectContent;
	}

	public String getResualt() {
		return resualt;
	}

	public void setResualt(String resualt) {
		this.resualt = resualt;
	}

	public String getResualtImagePaths() {
		return resualtImagePaths;
	}

	public void setResualtImagePaths(String resualtImagePaths) {
		this.resualtImagePaths = resualtImagePaths;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getHasEdit() {
		return hasEdit;
	}

	public void setHasEdit(String hasEdit) {
		this.hasEdit = hasEdit;
	}
	
}
